home *** CD-ROM | disk | FTP | other *** search
- Sidereal V1.0 John Mintalar 10/04/91
-
-
- This program is a real-time sidereal clock. It displays the
- Universal Time (UT), Greenwich Sidereal Time (GST), and
- Local Sidereal Time (LST) for a location given the
- daylight savings time adjustment, time zone, geographical longitude,
- and local date and time. Principal users of a program such as this would
- be people who are into astronomy.
-
-
- Operating System Requirements
-
-
- This program was developed on a Amiga 2000 using WorkBench 1.3
- with a CBM 68030 accelerator board installed. I have tested the program in
- both 68000 and 68030 modes with no problems. The program is less than 18K
- in size so you shouldn't have memory problems, but, if there is a problem,
- my CompuServe ID is listed at the end of this document where you can send
- me EMail about problems with the program.
-
- Set-Up
-
-
- I have tried to make this program as user-friendly as possible.
- There are two (2) ways this program can be used. One is that it can
- be run from the WorkBench screen by clicking on its icon. Second, it
- can be run from a CLI window.
-
- Note: It is important that your Amiga System Date and Clock are set
- properly for your location. If these are not set properly, the
- sidereal time displayed when you run the program will not be correct.
-
-
- Running Sidereal from the WorkBench
-
-
- To properly use Sidereal from the WorkBench, the
- following information will be needed to setup the ToolTypes values for
- the icon:
-
- o Daylight savings adjustment
- o Time zone
- o Geographical longitude
-
-
- Daylight savings adjustment: This is the number of hours your local
- time is pushed ahead when Daylight Savings time is in effect. When
- STANDARD time is in effect, this value will be zero (0).
-
- Time zone: This is the number of hours your local time is ahead of or
- behind Greenwich Meridian time. For example, if your location is in
- the Eastern Standard time zone of the USA, this value would be -5;
- Central Standard time zone, this value would be -6, etc. Note that
- time zones WEST of the Greenwich Meridian are negative values; EAST of
- the Greenwich Meridian are positive values.
-
- Geographical longitude: This is your location measured from the
- Greenwich Meridian in degrees, minutes, and seconds on the world map.
- Again, if your location is WEST of the Greenwich Meridian, this value
- will be negative.
-
-
- Setting up ToolTypes
-
-
- 1. Click once on the Sidereal icon and select Info from the
- WorkBench menu.
-
- 2. In the TOOL TYPES section of the display, use the up/down buttons
- to scroll the TOOL TYPES values. Following is a list of the required
- values:
-
- o DaylightSavings
- o TimeZone
- o GeogLongDeg
- o GeogLongMin
- o GeogLongSec
-
- 3. Change the values to the right of the 'equal' sign to the
- appropiate values for your location. (Remember: If your TimeZone and
- Geographical Longitude are WEST of the Greenwich Meridian, these
- values will be negative). In the case of the Geographical Longitude,
- ToolType values GeogLongDeg GeogLongMin GeogLongSec separately
- will make up your Geographical longitude. If it is negative, only
- GeogLongDeg needs the negative value. For example:
-
- GeogLongDeg=-90
- GeogLongMin=10
- * GeogLongSec=11.01
-
- * This value is the only one that should have a decimal number
-
- 4. After insuring that the proper values for your location have been
- entered for all the ToolType values, click on SAVE in the lower
- left-hand corner.
-
- 5. Double-click on the Sidereal icon to run. The Local Date,
- Local Time, Universal Time, Greenwich Sidereal Time, and
- Local Sidereal Time should be displayed in a window. Click on the
- CLOSE button (upper left-hand corner) to stop the program. To move
- the window, use the drag bar at the top of the window.
-
-
- Running Sidereal from the CLI
-
-
- This option allows you to change the values of Daylight Savings,
- Time Zone, and Geographical Longitude at will.
-
- 1. Open a CLI or SHELL window if one is not already open.
-
- 2. Use the cd command to set the current directory to the
- directory where the Sidereal program resides. If the directory
- where Sidereal resides is in your 'path', this step will not be
- necessary.
-
- 3. Type sidereal ? at the prompt to view help for the Sidereal
- program. This is the easiest way to learn how to use the program from
- the CLI.
-
- 4. When entering values that will be passed to the Sidereal
- program, ensure that they are in the correct order, there is a space
- between each value, and that the correct number of values is passed
- to the program. If you enter too many values or less than the
- required, the help text will be displayed.
-
- Note: If you type in sidereal with no parameters, the following
- defaults will take effect:
-
- Daylight Savings......: 0
- Time Zone.............: 0
- Geographical Longitude: 0 0 0.00
-
- Effectively, this is the Greenwich Meridian, Standard time.
-
-
- Questions, Comments, Suggestions, Bugs?
-
-
- If you have any questions or comments about this program or have
- suggestions for the program, send EMail at the CompuServe address listed
- below. If you find a bug(s) in the program, also, let me know.
-
- John Mintalar CompuServeID: [76426,302]
-
-